.PHONY: default start image run up

image_tag = chat:latest
host_port = 8000

default:
	@echo 'Usage:'
	@echo 'start server - make start'
	@echo 'build docker image - make docker'

start:
	npm start

image: Dockerfile .dockerignore
	docker build -t $(image_tag) .

run:
	docker run -p $(host_port):80 --tty --interactive --rm $(image_tag)

up:
	docker-compose up
